import Vue from 'vue'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import ElementUi from 'element-ui'
import http from './http'
import 'element-ui/lib/theme-chalk/index.css';
import preventReClick from './preventReClick' //防多次点击，重复提交

import {baseUrl} from './util'
Vue.use(VueAwesomeSwiper)
Vue.use(ElementUi)
Vue.prototype.$http = http // 定义全局变量
Vue.prototype.baseUrl = baseUrl()
Vue.prototype.fileUploadUrl = baseUrl() + '/sys/file/upload'
